from rest_framework import serializers

from apps.models import Classification
from apps.utils.common_response import APIResponse


class ClassificationSerializer(serializers.ModelSerializer):
    create_time = serializers.DateTimeField(format='%Y-%m-%d %H:%M:%S', required=False)
    class Meta:
        model = Classification
        fields = '__all__'

